package com.yy.bolg.service;


import com.yy.bolg.entity.AdminUserBean;

import java.util.List;

/**
 * 总工Service接口类，定义基本的对数据库数据操作
 * @author enamoFu
 * @date 2024-10-31
 */
public interface AdminUserService {

    void add(AdminUserBean bean) throws Exception;

    void del(AdminUserBean bean) throws Exception;

    void up(AdminUserBean bean) throws Exception;

    AdminUserBean findOneByPhone(AdminUserBean bean) throws Exception;

    List<AdminUserBean> findAllByCondition(AdminUserBean bean) throws Exception;

    AdminUserBean signIn(AdminUserBean bean) throws Exception;

    void signOut(AdminUserBean bean) throws Exception;

    void suspend(AdminUserBean bean) throws Exception;

    void recovery(AdminUserBean bean) throws Exception;

}
